home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000441_my_new DTD....msg < prev    next >
Text File  |  1994-01-24  |  2KB  |  59 lines

  1.  
  2. <!-- I think the A tag is overloaded. I'd like to deprecate
  3.      it in favor of the XREF and SEE elements.
  4.   --> 
  5.  
  6. <!ELEMENT XREF - - (#PCDATA)
  7.  -- This element is for links within an HTML document. (a document
  8.     is a collection of entities, or a web of nodes that share context).
  9.  -->
  10.  
  11. <!ATTLIST XREF
  12.         CONTEXT CDATA #IMPLIED -- defaults to the entity containing the XREF --
  13.         -- SGML purists would make this attribute an ENTITY reference,
  14.            and put the URL in the SYSTEM identifier in the prologue.
  15.            For expediency, we put the URL right in the attribute.
  16.         --
  17.         ORIGIN CDATA #IMPLIED
  18.         -- another URL, used as an identifier, rather than a locator.
  19.            Ala the WAIS original-server,database,local-id triple.
  20.         --
  21.         REF IDREF #REQUIRED  -- ID of referent element --
  22.         >
  23.  
  24. <!ELEMENT SEE - - (#PCDATA)
  25.  -- This element is for links from an HTML document to any entity
  26.     in the global web. The address and content-type of the entity
  27.     are sufficient to resolve the reference.
  28.  
  29.     The other attributes could be specified in the text of the
  30.     SEE content, but by making them attributes, the client software
  31.     can process them, for example, to display a table of references
  32.     sorted by date.
  33.  -->
  34. <!ATTLIST SEE
  35.         ADDRESS CDATA #REQUIRED -- URL of referent entity --
  36.         CONTENT-TYPE CDATA #REQUIRED -- MIME Content-Type for the entity --
  37.         TARGET CDATA #IMPLIED
  38.         -- This is the analogue of the #anchor mechanism.
  39.            If CONTEXT is an SGML entity, this could be an ID,
  40.            though it won't be validated.
  41.            However, if CONTEXT is a text file, this could be a line number
  42.        to scroll to.
  43.            The meaning depends on the content-type.
  44.         --
  45.         ORIGIN CDATA #IMPLIED
  46.         -- another URL, used as an identifier, rather than a locator.
  47.            Ala the WAIS original-server,database,local-id triple.
  48.         --
  49.         FROM CDATA #IMPLIED -- email address or name of author/provider --
  50.         DATE NUMBER #IMPLIED -- in ISO format: YYYYMMDDHHMMSSZ --
  51.         BYTES NUMBER #IMPLIED -- useful in many cases --
  52.         MD5 CDATA #IMPLIED -- data signature --
  53.         >
  54.  
  55. Comments are solicited...
  56.  
  57.  
  58. Dan
  59.